Skip to content

gh-52330 Document how a proxy auto-config (PAC) file can be used with urllib.request.ProxyHandler - #161729

Merged
orsenthil merged 1 commit into
python:mainfrom
orsenthil:issues/52330
Nov 11, 2026
Merged

orsenthil merged 1 commit into
python:mainfrom
orsenthil:issues/52330

Conversation

@orsenthil

@orsenthil orsenthil commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

urllib.request.ProxyHandler

We will point to the pypi package pypac which supports PAC discovery and can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level example of using this.

…d with

urllib.request.ProxyHandler

We will point to the pypi package pypac which supports PAC discovery and
can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level
example of using this.
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Nov 10, 2026
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news awaiting core review labels Nov 10, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Nov 10, 2026
@orsenthil orsenthil removed the type-feature A feature request or enhancement label Nov 10, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35772764 | 📁 Comparing 9dc14c2 against main (e891a91)

  🔍 Preview build  

1 file changed
± library/urllib.request.html

@orsenthil orsenthil added needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Nov 10, 2026
@orsenthil
orsenthil merged commit 3cf810d into python:main Nov 11, 2026
43 of 44 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 11, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @orsenthil for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Nov 11, 2026

Copy link
Copy Markdown

GH-161795 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Nov 11, 2026
@bedevere-app

bedevere-app Bot commented Nov 11, 2026

Copy link
Copy Markdown

GH-161796 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 11, 2026
orsenthil added a commit that referenced this pull request Nov 11, 2026
…ed with urllib.request.ProxyHandler (GH-161729) (#161795)

gh-52330 Document how a proxy auto-config (PAC) file can be used with urllib.request.ProxyHandler (GH-161729)

We will point to the pypi package pypac which supports PAC discovery and
can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level
example of using this.
(cherry picked from commit 3cf810d)

Co-authored-by: Senthil Kumaran <senthil@python.org>
orsenthil added a commit that referenced this pull request Nov 11, 2026
…ed with urllib.request.ProxyHandler (GH-161729) (#161796)

gh-52330 Document how a proxy auto-config (PAC) file can be used with urllib.request.ProxyHandler (GH-161729)

We will point to the pypi package pypac which supports PAC discovery and
can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level
example of using this.
(cherry picked from commit 3cf810d)

Co-authored-by: Senthil Kumaran <senthil@python.org>
orsenthil added a commit to orsenthil/cpython that referenced this pull request Nov 12, 2026
…d with urllib.request.ProxyHandler (python#161729)

pythongh-52330 Document how a proxy auto-config (PAC) file can be used with
urllib.request.ProxyHandler

We will point to the pypi package pypac which supports PAC discovery and
can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level
example of using this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant